﻿namespace LeRenard.ScriptWars.Model.GridSystem
{
    /// <summary>
    /// Represents a 2D size.
    /// </summary>
    public class GridSize
    {
        /// <summary>
        /// Gets the width.
        /// </summary>
        public int Width { get { return _width; } }
        private readonly int _width;

        /// <summary>
        /// Gets the height.
        /// </summary>
        public int Height { get { return _height; } }
        private readonly int _height;

        /// <summary>
        /// Creates a new <see cref="GridSize"/> object.
        /// </summary>
        /// <param name="width">The width.</param>
        /// <param name="height">The height.</param>
        public GridSize(int width, int height)
        {
            _width = width;
            _height = height;
        }
    }
}
